import FormProjectProductPreview from './FormProjectProductPreview.vue';
import FormProjectProductSetting from '@src/component/form/components/FormProjectCustomer/FormProjectCustomerSetting.vue';

import i18n from '@src/locales';

let FormProductWarrantyServiceField = {
  formType: 'projectProduct',
  fieldName: 'product',
  name: i18n.t('common.base.product'),
  isSystemControl: true,
  forceDelete: true,
  previewIcon: 'icon-chanpin',
  component: {
    preview: FormProjectProductPreview,
    extend: {
      projectType_projectProduct_setting: FormProjectProductSetting,
    },
  },
};

export default [FormProductWarrantyServiceField];
